package com.example.gray.entity;

/**
 * @author Gray 2021/12/28-18:06
 */
public class OpLog {
    private Integer logId;
    private String ipAddress;
    private Integer userId;
    private String opDate;
    private String opMethods;

    public OpLog() {
    }

    public OpLog(Integer logId, String ipAddress, Integer userId, String opDate, String opMethods) {
        this.logId = logId;
        this.ipAddress = ipAddress;
        this.userId = userId;
        this.opDate = opDate;
        this.opMethods = opMethods;
    }

    @Override
    public String toString() {
        return "OpLog{" +
                "logId=" + logId +
                ", ipAddress='" + ipAddress + '\'' +
                ", userId=" + userId +
                ", opDate='" + opDate + '\'' +
                ", opMethods='" + opMethods + '\'' +
                '}';
    }

    public Integer getLogId() {
        return logId;
    }

    public void setLogId(Integer logId) {
        this.logId = logId;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getOpDate() {
        return opDate;
    }

    public void setOpDate(String opDate) {
        this.opDate = opDate;
    }

    public String getOpMethods() {
        return opMethods;
    }

    public void setOpMethods(String opMethods) {
        this.opMethods = opMethods;
    }
}
